package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 站点表
 * */
@Entity
@Table(name="site")
public class Site implements Serializable {
	private static final long serialVersionUID = 800676299803911035L;
	private String indexmodel;//PC端网站首页面
	private String phoneindexmodel;//手机端网站首页面
	private String padindexmodel;//平板端网站首页面
	private String modelid;//PC端模版id
	private String phonemodelid;//手机端模版id
	private String padmodelid;//平板端模版id
	private String sitename;//站点名称
	private String sitetag;//站点url
	private String domainname;//域名
	private String phonenum;//商家联系电话
	private String address;//商家联系地址
	private String managerid;//站点管理员编号
	private String createUser;//创建用户
	private Date createTime;//创建时间
	private Integer active;//0表示正常，1表示删除
	private String id;
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "createUser")
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "active")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	@Column(name = "domainname")
	public String getDomainname() {
		return domainname;
	}
	public void setDomainname(String domainname) {
		this.domainname = domainname;
	}
	@Column(name = "managerid")
	public String getManagerid() {
		return managerid;
	}
	public void setManagerid(String managerid) {
		this.managerid = managerid;
	}
	@Column(name = "sitename")
	public String getSitename() {
		return sitename;
	}
	public void setSitename(String sitename) {
		this.sitename = sitename;
	}
	@Column(name = "phonenum")
	public String getPhonenum() {
		return phonenum;
	}
	public void setPhonenum(String phonenum) {
		this.phonenum = phonenum;
	}
	@Column(name = "address")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Column(name = "sitetag")
	public String getSitetag() {
		return sitetag;
	}
	public void setSitetag(String sitetag) {
		this.sitetag = sitetag;
	}
	@Column(name = "indexmodel")
	public String getIndexmodel() {
		return indexmodel;
	}
	public void setIndexmodel(String indexmodel) {
		this.indexmodel = indexmodel;
	}
	@Column(name = "phoneindexmodel")
	public String getPhoneindexmodel() {
		return phoneindexmodel;
	}
	public void setPhoneindexmodel(String phoneindexmodel) {
		this.phoneindexmodel = phoneindexmodel;
	}
	@Column(name = "padindexmodel")
	public String getPadindexmodel() {
		return padindexmodel;
	}
	public void setPadindexmodel(String padindexmodel) {
		this.padindexmodel = padindexmodel;
	}
	@Column(name = "modelid")
	public String getModelid() {
		return modelid;
	}
	public void setModelid(String modelid) {
		this.modelid = modelid;
	}
	@Column(name = "phonemodelid")
	public String getPhonemodelid() {
		return phonemodelid;
	}
	public void setPhonemodelid(String phonemodelid) {
		this.phonemodelid = phonemodelid;
	}
	@Column(name = "padmodelid")
	public String getPadmodelid() {
		return padmodelid;
	}
	public void setPadmodelid(String padmodelid) {
		this.padmodelid = padmodelid;
	}
}
